import {add} from './cal.js'
import {handleData} from "./cal.js";
import CalObj from "./cal.js";

const a =1;
const b=2;
const res = add(a,b)
console.log(res)
const {handleAdd,handleMul} = handleData()
const addResult = handleAdd(a)
const addResult2 = handleData().handleMul(a)
console.log(addResult,addResult2)

const mulResult = CalObj.mul(a)
console.log(mulResult)

document.getElementById("showcount")
    .innerHTML= res
